-
Notifications
You must be signed in to change notification settings - Fork 50
Update react dependencies #2168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/react-dependencies
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8938412 to
69a9498
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
69a9498 to
78e7763
Compare
78e7763 to
c7636e9
Compare
c7636e9 to
4104d9a
Compare
4104d9a to
03e7800
Compare
03e7800 to
365bf9a
Compare
365bf9a to
dc4d2ab
Compare
dc4d2ab to
3a44b85
Compare
3a44b85 to
2f53892
Compare
2f53892 to
2c9b8ed
Compare
2c9b8ed to
3805e1f
Compare
3805e1f to
533dd53
Compare
533dd53 to
c38300b
Compare
c38300b to
3f594a7
Compare
3f594a7 to
6166782
Compare
6166782 to
d5c5beb
Compare
d5c5beb to
98cd161
Compare
98cd161 to
3a311e5
Compare
3a311e5 to
3975cb8
Compare
3975cb8 to
04fb4a8
Compare
04fb4a8 to
b26f404
Compare
b26f404 to
036eeba
Compare
036eeba to
471b923
Compare
471b923 to
85abb3c
Compare
85abb3c to
2c3179e
Compare
2c3179e to
c51540c
Compare
c51540c to
889a5d4
Compare
889a5d4 to
4cc1925
Compare
ffde0ee to
d4dc729
Compare
d4dc729 to
cbfc8c5
Compare
cbfc8c5 to
23e7600
Compare
23e7600 to
6f1abfb
Compare
6f1abfb to
4140feb
Compare
4140feb to
4ddc45a
Compare
4ddc45a to
674f434
Compare
674f434 to
09b0086
Compare
09b0086 to
93e6560
Compare
93e6560 to
afae19f
Compare
afae19f to
798df7e
Compare
798df7e to
c4833b2
Compare
c4833b2 to
516b7ed
Compare
516b7ed to
748c588
Compare
748c588 to
98aae1e
Compare
98aae1e to
c1024d3
Compare
c1024d3 to
d2d8761
Compare
d2d8761 to
84bd20d
Compare
84bd20d to
d43d985
Compare
d43d985 to
d41b250
Compare
d41b250 to
5af0bab
Compare
5af0bab to
bafbc58
Compare
bafbc58 to
858a9d0
Compare
858a9d0 to
9f6c7f4
Compare
9f6c7f4 to
1f38b2f
Compare
1f38b2f to
bc83783
Compare
bc83783 to
1add653
Compare
1add653 to
3e82240
Compare
3e82240 to
16f7cc0
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.37.4→7.37.50.4.19→0.5.06.30.0→6.30.3Release Notes
jsx-eslint/eslint-plugin-react (eslint-plugin-react)
v7.37.5Compare Source
Fixed
no-unknown-property]: allow shadow root attrs on<template>(#3912 @ljharb)prop-types]: supportComponentPropsWithReffrom a namespace import (#3651 @corydeppen)jsx-no-constructed-context-values]: detect constructed context values in React 19<Context>usage (#3910 @TildaDares)no-unknown-property]: allowtransform-originonrect(#3914 @ljharb)Changed
button-has-type]: clean up phrasing (#3909 @hamirmahal)ArnaudBarre/eslint-plugin-react-refresh (eslint-plugin-react-refresh)
v0.5.0Compare Source
Breaking changes
reactRefreshexport is available and prefered over the default export. It's an object with two properties:plugin: The plugin object with the rulesconfigs: An object containing configuration presets, each exposed as a function. These functions accept your custom options, merge them with sensible defaults for that config, and return the final config object.customHOCsoption was renamed toextraHOCsextraHOCsoptionConfig example:
Config example without config:
Why
This version follows a revamp of the internal logic to better make the difference between random call expressions like
export const Enum = Object.keys(Record)and actual React HOC calls likeexport const MemoComponent = memo(Component). (fixes #93)The rule now handles ternaries and patterns like
export default customHOC(props)(Component)which makes it able to correctly support files like this one given this config:{ "react-refresh/only-export-components": [ "warn", { "extraHOCs": ["createRootRouteWithContext"] } ] }Because I'm not 100% sure this new logic doesn't introduce any false positive, this is done in a major-like version. This also give me the occasion to remove the hardcoded
connectfrom the rule. If you are usingconnectfromreact-redux, you should now add it toextraHOCslike this:{ "react-refresh/only-export-components": ["warn", { "extraHOCs": ["connect"] }] }v0.4.26Compare Source
v0.4.25Compare Source
export const ENUM = Object.keys(TABLE) as EnumType[];(fixes #93)_in component names (#94)v0.4.24Compare Source
"generateImageMetadata","generateSitemaps"&"generateStaticParams"toallowExportNamesin Next configv0.4.23Compare Source
"metadata","generateMetadata"&"generateViewport"toallowExportNamesin Next configv0.4.22Compare Source
"viewport"toallowExportNamesin Next config (#89)v0.4.21Compare Source
This allows exports like
fetchCacheandrevalidatewhich are used in Page or Layout components and don't trigger a full page reload.v0.4.20Compare Source
as const(fixes #80)remix-run/react-router (react-router-dom)
v6.30.3Compare Source
v6.30.2Compare Source
v6.30.1Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.